package com.zty.xiaomiadmin.server.Dao;

import org.apache.ibatis.annotations.Select;

public interface IndexMapper {
    @Select("select count(*) from userinfo")
    int getUserNumber();

    @Select("select count(*) from goods")
    int getGoodsNumber();

    @Select("select count(*) from orde")
    int getOrderNumber();

    @Select("select store_id from store where store_name = #{name}")
    String getStoreIdByName(String name);
}
